/*
 * Copyright (c) 2013 Samsung Electronics Co., Ltd. All rights reserved.
 * 
 * This software is a confidential and proprietary information of Samsung Electronics, Inc.
 * ("Confidential Information"). You shall not disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into with Samsung Electronics.
 */

package com.example.sistemacompras.entity;

import android.graphics.Bitmap;

public class Product {

    private int id;

    private int userId;

    private String name;

    private String description;

    private float price;

    private Bitmap photo;

    public Product() {

    }

    public Product(int id, int userId, String name, String description, float price, Bitmap photo) {
        this.id = id;
        this.userId = userId;
        this.name = name;
        this.description = description;
        this.price = price;
        this.photo = photo;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public Bitmap getPhoto() {
        return photo;
    }

    public void setPhoto(Bitmap photo) {
        this.photo = photo;
    }

}
